<?php
$url['return'] = "http://www.baidu.com";
echo '<script>top.document.location.href="' . $url['return'] . '";</script>';
?>